package com.example.ysdt.service.impl;

import com.example.ysdt.Vo.CategoryVo;
import com.example.ysdt.Vo.ProductVo;
import com.example.ysdt.Vo.RecommendVo;
import com.example.ysdt.entiey.Product;
import com.example.ysdt.entiey.Recommend;
import com.example.ysdt.service.RecommendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecommendServiceImpl implements RecommendService {
    @Autowired
    private com.example.ysdt.mapper.RecommendMapper recommendMapper;

    @Override
    public void createLabel(Recommend recommend) {
        recommendMapper.createLabel(recommend);
    }

    @Override
    public List<Recommend> queryLabel(RecommendVo recommendVo) {
        return recommendMapper.queryLabel(recommendVo);
    }

    @Override
    public void deleteLabel(RecommendVo recommendVo) {
        recommendMapper.deleteLabel(recommendVo);
    }

}
